{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'mainline': '15fffc6a5624b13b428bb1c6e9088e32a55eb82c',\n",
       " 'stable/5.10': 'f098e8fc7227166206256c18d56ab622039108b1',\n",
       " 'url': 'https://lore.kernel.org/all/CAODzB9r8adug8TRWcOzF2oXSj0BCJTRNTCiDqiYSs1j0bePuvg@mail.gmail.com/',\n",
       " 'title': 'driver core: Fix uevent_show() vs driver detach race',\n",
       " 'fixes': 'Introduced by commit c0a4009 (&#34;drivers: core: synchronize really_probe() and dev_uevent()&#34;) in v6.10-rc4.',\n",
       " 'all_match_text': 'CVE-2024-44952: driver core: Fix uevent_show() vs driver detach race\\n\\nAnnounce: <a\\nhref=\"https://lore.kernel.org/linux-cve-announce/2024090411-CVE-2024-44952-6290@gregkh/\">https://lore.kernel.org/linux-cve-announce/2024090411-CVE-2024-44952-6290@gregkh/</a>\\n\\nIntroduced by commit c0a4009 (&#34;drivers: core: synchronize\\nreally_probe() and dev_uevent()&#34;) in v6.10-rc4.\\nFixed in v6.11-rc3.\\nBug introduced commit was backported to following branches.\\ncip/4.19 cip/4.19-rt cip/4.4 cip/4.4-st cip/5.10 cip/5.10-rt cip/6.1\\ncip/6.1-rt stable/4.19 stable/5.10 stable/5.15 stable/5.4 stable/6.1\\nstable/6.6\\n\\nFixed status\\nmainline: [15fffc6a5624b13b428bb1c6e9088e32a55eb82c]\\nstable/4.19: [49ea4e0d862632d51667da5e7a9c88a560e9c5a1]\\nstable/5.10: [f098e8fc7227166206256c18d56ab622039108b1]\\nstable/5.15: [9c23fc327d6ec67629b4ad323bd64d3834c0417d]\\nstable/5.4: [dd98c9630b7ee273da87e9a244f94ddf947161e2]\\nstable/6.1: [4a7c2a8387524942171037e70b80e969c3b5c05b]\\nstable/6.6: [4d035c743c3e391728a6f81cbf0f7f9ca700cf62]\\n'}"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import sys\n",
    "sys.path.append('..')\n",
    "import service.CommitService as CommitService\n",
    "CommitService.getCommitIdFromCVE('CVE-2024-44952')"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
